package cn.itcast.dao;


import cn.itcast.pojo.OrderSetting;


import java.util.Date;

import java.util.List;

public interface OrderSettingDao {
     List<OrderSetting> getOrderOrderSettingsByMonth(String s, String e);

    void updateOrderSettingNumber(OrderSetting orderSetting);

    OrderSetting findOrderSettingByDate(Date orderDate);

    void insert(OrderSetting orderSetting);



    /*
    * 根据预约日期设置信息
    * */
    OrderSetting findByOrderDate(Date orderDate);
    /*
    * 
    * 更新已预约的人数
    * */
    void editReservationsByOrderDate(OrderSetting orderSetting);
    

}
